/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* E.P. Scene Graph
* Developed by:
*       - Eduardo Ribeiro (eribeiro @ tecgraf . puc-rio . br)
*       - Peter Dam (peter @ tecgraf . puc-rio . br)
* File: SpotLight.h
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _EPSG_SPOTLIGHT_
#define _EPSG_SPOTLIGHT_

#include "EPSG/LightSource.h"

namespace EPSG
{
	class SpotLight : public LightSource
	{
	public:
		/* [CONSTRUCTOR] */	SpotLight();

		virtual void		setupLights();

		void				setPosition( float x, float y, float z );
		void				setDirection( float x, float y, float z );

		void				setCutoff( float cutoff );
		void				setExponent( float exponent );

	private:
		float				_pos[4];
		float				_dir[3];
		float				_cutoff;
		float				_exponent;
	};
}

#endif //_EPSG_SPOTLIGHT_